Skip to content

Utility function to get English common name from Wikidata#20

Open
StefanVriend wants to merge 10 commits into
mainfrom
common-name
Open

Utility function to get English common name from Wikidata#20
StefanVriend wants to merge 10 commits into
mainfrom
common-name

Conversation

@StefanVriend

Copy link
Copy Markdown
Contributor

No description provided.

This version of the function was created because the SPARQL-version was slow, but now that its performance is increased, the alt version becomes obsolete
@CherineJ

Copy link
Copy Markdown
Contributor

I just saw this pull request by accident now - was it intended that you did not yet request a review on this?

@CherineJ CherineJ self-requested a review November 11, 2024 13:13
@CherineJ

Copy link
Copy Markdown
Contributor

This function does not seem to work for all species in different languages. English is mostly oke, but depending on the species you enter, other languages don't work. Was (of course) trying Fagus sylvatica first and that doesn't give me the name in e.g., Spanish, Dutch or German, even though they are on the website of the item. For Parus major it however works in all languages. Blue tits also work, Quercus robur not. Seems to be a planty problem, maybe we can further check that.

CherineJ and others added 4 commits November 11, 2024 14:31
…ored under label instead of taxon common name

keep multiple records if multiple common names are used in a language
Keep NA for a language that does not have a common name for the desired taxon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants